.el-image-viewer__img {
	max-height: 90% !important;
	max-width: 90% !important;
}

// 修改loading
.el-loading-mask {
	.el-loading-spinner {
		.circular {
			width: 60px;
			height: 60px;
		}
	}
}

// 修改el-element 级联组件高度
.el-cascader--mini {
	.el-cascader__tags {
		.el-cascader__search-input {
			height: 18px;
			// margin: 0 0 0 15px;
		}

		.el-tag--mini {
			height: 18px;
		}
	}
}

.el-radio {
	display: flex;
	align-items: center;

	&__label {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}

.el-checkbox {
	display: flex !important;
	align-items: center;

	&__label {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}

.el-transfer-panel .el-transfer-panel__header .el-checkbox {
	height: 40px;
}

// 按钮
button.el-button {

	&:focus,
	&:active {
		border-color: #dcdfe6;
		background: #ffffff;
		color: #606266;
	}

	&--primary,
	&--success,
	&--warning,
	&--danger {

		&:focus,
		&:active {
			color: #ffffff;
		}
	}

	&--primary {

		&:focus,
		&:active {
			background-color: $color-primary;
			border-color: $color-primary;
		}
	}

	&--success {

		&:focus,
		&:active {
			background-color: $color-success;
			border-color: $color-success;
		}
	}

	&--warning {

		&:focus,
		&:active {
			background-color: $color-warning;
			border-color: $color-warning;
		}
	}

	&--danger {

		&:focus,
		&:active {
			background-color: $color-danger;
			border-color: $color-danger;
		}
	}

	&--text {

		&:focus,
		&:active {
			border-color: transparent;
			background-color: transparent;
			color: $color-primary;
		}
	}
}

.el-dialog {
	&__header {
		border-bottom-color: $border-main !important;
	}

	&__body {
		max-height: 74vh;
		overflow: auto;
	}

	&__footer {
		border-top: 1px solid $border-main;
	}
}

.el-tooltip__popper {
	max-width: 400px;
}

.el-drawer__body {
	height: calc(100% - 80px);
}

// 列表样式
.el-table__body {
	.el-dropdown {
		margin-left: 10px;
	}
}

.el-form--label-top .el-form-item__label {
	padding: 0 !important;
}

.el-input-group__append,
.el-input-group__prepend {
	padding: 0 10px !important;
}

.el-message {
	min-width: auto !important;
}

.el-popover {
	min-width: 60px !important;
}

/* 设置全局 */
.clear-number-input.el-input::-webkit-outer-spin-button,
.clear-number-input.el-input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none !important;
}

.clear-number-input.el-input input[type="number"]::-webkit-outer-spin-button,
.clear-number-input.el-input input[type="number"]::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none !important;
}

.clear-number-input.el-input {
	-moz-appearance: textfield;
}

.clear-number-input.el-input input[type="number"] {
	-moz-appearance: textfield;
}

@media screen and (max-width: 600px) {
	.el-dropdown-menu {
		min-width: 100px;
	}
}

/* Chrome */
// @media screen and (-webkit-min-device-pixel-ratio: 0) {
// 	.el-table__fixed,
// 	.el-table__fixed-right {
// 		max-height: calc(100% - 8px);
// 	}
// }
// 修改标签页表头样式
/*表格表头字体加重*/
.el-table th {
	background: transparent !important;
	border-right: none !important;

	.cell {
		font-weight: bold !important;
		padding: 15px;
		color: #909399 !important;
	}
}

.el-table td {
	border-right: none !important;
	padding: 12px 0 !important;
	font-size: 14px;
}
.cl-filter-group{
	.cl-filter__label{
		font-size: 14px !important;
	}
	.el-button{
		height: 30px !important;
	}
}

.el-input--mini .el-input__inner{
	height: 30px !important;
	line-height: 30px !important;
}
.el-range-editor--mini.el-input__inner{
	height: 30px !important;
	line-height: 30px !important;
}

/***********************************************************************************B**************************************************************************/

.el-table--border,
.el-table--group {
	border: none !important;
}

// to fix 在ios设备中，el-select组件下拉框，点击2次才能选中问题。
.el-scrollbar {
	.el-scrollbar__bar {
		opacity: 1 !important;
	}
}